package cn.blankm.video.surface;

import android.view.Surface;

import androidx.annotation.Keep;

/**
 * Copyright (C), 1999-2022
 * Author qfmeng@iflytek.com
 * Date 2022/5/27 18:26
 * <p>
 * Description: 状态变化回调
 */
@Keep
public interface ISurfaceListener {

    void onSurfaceAvailable(Surface surface);

    void onSurfaceSizeChanged(Surface surface, int width, int height);

    boolean onSurfaceDestroyed(Surface surface);

    void onSurfaceUpdated(Surface surface);
}
